package com.hhxy.login.filter;

import javax.servlet.*;
import javax.servlet.annotation.WebFilter;
import java.io.IOException;

/**
 * @auther:Lu Yao
 * @date:2022/3/6
 * @description:关于filter和interceptor的说明，对于二者的生命周期我尚在研究中，主要是设想在单点登录过程中对应用上下文的信息进行统一管理，计划在commservice
 * 包中增加公用请求头和公用响应头，计划用ThreadLocal进行存储每个线程的状态，详情实现有待考究讨论
 **/
//@WebFilter(urlPatterns = "/*",filterName = "loginFilter")
public class LoginFilter implements Filter {
    @Override
    public void init(FilterConfig filterConfig) throws ServletException {
    }

    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {

    }

    @Override
    public void destroy() {

    }
}